<template>
  <div class="home">
    <ul>
      <li v-for="item in arry" :key="item.listennum" :value="item.mv_id">
        <span>{{ item.mvtitle }}</span>
      </li>
    </ul>
  </div>
</template>

<script>
// @ is an alias to /src
import axios from "axios";

export default {
  data() {
    return {
      arry: [],
    };
  },

  async created() {
    const api = `/music/getmv_by_tag?g_tk=5381&loginUin=0&hostUin=0&format=json&inCharset=utf8&
      outCharset=GB2312&notice=0&platform=yqq.json&needNewCode=0&cmd=shoubo&lan=all`;
    const ref = await axios.get(api);
    console.log(ref.data);
    console.log(ref.data.data.mvlist, 1111111111111111111111111111111111);
    this.arry = ref.data.data.mvlist;
  },
};
</script>
